import { Injectable } from '@nestjs/common';

@Injectable()
export class AppService {
  getHello(): string {
    return 'Hello World!';
  }

  async saveFile(): Promise<any> {
    console.log('do saving');
    return new Promise((resolve) => {
      setTimeout(() => {
        resolve('done');
      }, 1000);
    });
  }
}
